package com.copc.common.model.vo;

import com.copc.common.annotation.Validation;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: cw
 * @date:Created in 2023/1/31 14:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SurrendVO {

    @ApiModelProperty(value = "保单号",required = true)
    @Validation(message = "policyCode不可为空")
    private String policyCode;

    @ApiModelProperty(value = "订单号",required = true)
    @Validation(message = "orderNo不可为空")
    private String orderNo;

    @ApiModelProperty(value = "批改机构" )
    private String makeCode;

    @ApiModelProperty(value = "雇员代号",required = true)
    @Validation(message = "operateCode不可为空")
    private String operateCode;

    @ApiModelProperty(value = "操作时间",required = true)
    @Validation(message = "operateTime不可为空")
    private String operateTime;

    @ApiModelProperty(value = "注销生效日",required = true)
    @Validation(message = "validTime不可为空")
    private String validTime;
}
